<%--
  Created by IntelliJ IDEA.
  User: kdl
  Date: 2018/6/8
  Time: 11:38
  To change this trolelate use File | Settings | File Trolelates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>

    <%@include file="/static/common/common.jsp"%>

    <script type="text/javascript" src="/static/js/role.js" ></script>

</head>
<body>
<table id="role_datagrid" ></table>
<div id="tb">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="add">新增</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true"  data-cmd="edit">编辑</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reload">刷新</a>
</div>
<div id="form_btn">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-save',plain:true" data-cmd="save">保存</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true" data-cmd="cancel">取消</a>

</div>

<div id="role_dialog">
    <form id="role_form" method="post">
        <input id="roleId" type="hidden" name="id"/>
        <table align="center" style="margin-top: 15px">
            <tr>
                <td>角色编号:<input name="sn" class="easyui-textbox"  ></td>
                <td>角色名称:<input name="name" class="easyui-textbox"  ></td>
            </tr>
            <tr>
                <td>角色菜单:<input id="menu_combotree" class="easyui-combotree"
                                data-options="cascadeCheck:false,multiple:true,url:'/menu/selectRootMenu.do'"></td>
            </tr>
            <tr>
                <td>
                    <table id="allPermissions" ></table>
                </td>
                <td>
                    <table id="selfPermissions" ></table>
                </td>
            </tr>
        </table>
    </form>

</div>

</body>
</html>
